package swapper.model.dao;

import java.util.List;

/**
 *
 * @author Valentino
 */
public interface IDao {

    public Object addNew(Object obj);

    public void delete(Object obj);

    public void update(Object obj);

    public List<Object> listAll();

    public Object findByCod(Long codigo);

    public List<Object> findByName(String name);
}
